import React, { Component } from 'react';
import { withRouter } from 'react-router-dom'

import { Container } from './style'
import searchIcon from '@/assets/images/search.png'

@withRouter
class Search extends Component {
  render() {
    return (
      <Container onClick={() => {
        console.log(this.props.history);
      }}>
        <img src={searchIcon} alt="" />
        <span>您想搜索什么菜系 - 如：徽菜</span>
      </Container>
    );
  }
}

export default Search;
